<div class="admin">
    <div class="tab panel dux-box admin-panel">
        <div class="panel-head"><strong>关键词管理</strong></div>
        <div class="padding border-bottom">
            <a href="JavaScript:void(0);" class="button button-small border-green">管理</a>
            <a href="{:U('add')}" class="button button-small border-green">添加</a>
        </div>
        <form name="myform" id="myform" action="" method="post">
            <table class="table tb-type2 nobdb">
                <thead>
                    <tr class="thead">
                        <th width='10%'>序号</th>
                        <th width='10%'>关键词名称</th>
                        <th width='10%'>颜色</th>
                        <th width='10%'>加粗</th>
                        <th width='10%'>排序</th>
                        <th width='20%'>操作</th>
                        <th width='30%'></th>
                    </tr>
                </thead>
                <tbody>
                <foreach item="v" name="arr" key='k'>
                    <tr class="hover" style="background: rgb(255, 255, 255);">
                        <td class="oGoods">{$v['k_id']}</td>
                        <td class="oGoods">{$v['k_title']}</td>
                        <td class="oGoods"><font color="{$v['k_color']}">{$v['k_color']}</div></td>
                        <td class="oGoods">
                    <if condition="$v['k_strong'] eq 1">
                        <b style="font-size: 16px;color: green;">√</b>
                        <else />
                        <b style="font-size: 16px;color: grey;">×</b>
                    </if>
                    </td>
                    <td>{$v['k_order']}</td>
                    <td class="w144 align-center">
                        <a class="button bg-blue button-little" href="{:U('Keyword/edit',array('k_id'=>$v['k_id']))}"><i class="icon-edit"></i>编辑</a>
                        <a class="button bg-red button-little js-del" href="javascript:;" data="{$v['k_id']}" title="删除"><i class="icon-minus-circle"></i>删除</a>
                    </td>
                    <td></td>
                    </tr>
                </foreach>
                </tbody>
                <tfoot>
<!--                    <tr class="tfoot">
                        <td colspan="15"><div class="pages clearfix">{$pages}</div></td>
                    </tr>-->
                </tfoot>
            </table>
        </form>
    </div>
</div>
<script type="text/javascript">
    $('#myform').layer({
        actionUrl: "batchAction",
        deleteUrl: "del",
    });
</script>